package com.lbkj.ops.dao;

import com.lbkj.ops.model.OpsServerUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author jian.liu
 * @date 2020/10/29
 */
public interface OpsServerUserDao extends JpaRepository<OpsServerUser, Long>, JpaSpecificationExecutor<OpsServerUser> {
    List<OpsServerUser> findAllByServerId(Long serverId);
}